package gbench.appdemo.medicine.chemistry.particle;

/**
 * 元素
 * 
 * @author gbench
 *
 */
public class Element extends Matter {

    public Element(String name) {
        super(name);
    }

    public Element(String name, int atomicNumber, double atomicWeight) {
        super(name);
        this.atomicNumber = atomicNumber;
        this.atomicWeight = atomicWeight;
    }

    /**
     * @return the symbol
     */
    public String getSymbol() {
        return symbol;
    }

    /**
     * @return the atomicNumber
     */
    public int getAtomicNumber() {
        return atomicNumber;
    }

    /**
     * @return the atomicWeight
     */
    public double getAtomicWeight() {
        return atomicWeight;
    }

    /**
     * @param symbol the symbol to set
     */
    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    /**
     * @param atomicNumber the atomicNumber to set
     */
    public void setAtomicNumber(int atomicNumber) {
        this.atomicNumber = atomicNumber;
    }

    /**
     * @param atomicWeight the atomicWeight to set
     */
    public void setAtomicWeight(double atomicWeight) {
        this.atomicWeight = atomicWeight;
    }

    public String symbol;
    public int atomicNumber;
    public double atomicWeight;
}
